import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import dayjs from 'dayjs'

import { baseIp } from '@/api/config'
Vue.prototype.$ip = baseIp + '/static'
Vue.prototype.$baseIp = baseIp

//elemwntUI
import 'element-ui/lib/theme-chalk/index.css';
import Element from 'element-ui'

// 引入echarts
import echarts from 'echarts'

Vue.prototype.$echarts = echarts 
Vue.prototype.dayjs = dayjs

Vue.use(Element, {
  size: 'medium' // set element-ui default size
})


Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
